package swe.article;

import java.io.Serializable;

public class Rating implements Serializable{
	
	double rating;
	swe.user.User fromUser;
	
	public Rating(double rating, swe.user.User fromUser) {
		this.rating = rating;
		this.fromUser = fromUser;
	}
	
	public double getRating() {
		System.out.println("MEE: e do: " + this.rating);
		return this.rating;
	}
	public void setRating(double rating) {
		this.rating = rating;
	}
	public swe.user.User getFromUser() {
		return fromUser;
	}
	public void setFromUser(swe.user.User fromUser) {
		this.fromUser = fromUser;
	}
	
}
